<script setup>
import { RouterView } from 'vue-router'
import TopBar from '@/components/TopBar.vue'
import { useTokenStore } from './stores'

const tokenInfo = useTokenStore()
</script>

<template>
  <el-container>
    <!-- Logo 和用户管理 -->
    <el-header>
      <TopBar />
    </el-header>
      <RouterView />
  </el-container>

  <el-backtop />
</template>

<style>
.el-header {
  margin-bottom: 10px;
  background-color: #aad9ff;
  position: relative;
}
</style>
